package com.chixing.ih.module.system.service;

import com.chixing.ih.module.system.pojo.User;
import com.chixing.ih.module.system.pojo.dto.UserDTO;
import com.chixing.ih.module.system.pojo.dto.UserRegisterDTO;

/**
 * @author 刘岩
 * @version 1.0
 * @Desc Practice makes perfect
 * @date 2020/9/21 22:17
 */
public interface IUserService {

    boolean saveUser(UserRegisterDTO userRegisterDTO);

    boolean isAccountExisted(String userAccount);

    boolean isNickNameExisted(String userNickName);

    UserDTO isLoginSuccess(User user);

}
